package com.hntky.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.List;

import lombok.Data;

/**
 * 
 * @TableName t_sickroom
 */
@TableName(value ="t_sickroom")
@Data
public class Sickroom implements Serializable {
    /**
     * 病房表
     */
    @TableId(value = "sid", type = IdType.AUTO)
    private Integer sid;

    /**
     * 床位数
     */
    @TableField(value = "snum")
    private Integer snum;

    /**
     * 病房地址
     */
    @TableField(value = "saddr")
    private String saddr;

    /**
     * 科室号
     */
    @TableField(value = "sectorId")
    private Integer sectorid;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    private String nurse;

    @TableField(exist = false)
    private String sector;

    @TableField(exist = false)
    private Integer nurseid;

    @TableField(exist = false)
    private List<Nurse> nurses;
}